const editorOption = {
  scrollingContainer: '#editorcontainer',
  placeholder: '',
  // or 'bubble'
  theme: 'snow',
  modules: {
    imageResize: {
      displayStyles: {
        backgroundColor: 'black',
        border: 'none',
        color: 'white'
      },
      modules: ['Resize', 'DisplaySize', 'Toolbar']
    },
    toolbar: {
      // 工具栏
      container: toolbarOptions.toolbarOptions,
      handlers: {
        'image': function (value) {
          if (value) {

          } else {
            this.quill.format('image', false)
          }
        }
      }
    }
  }
}

export default {
  editorOption
}